﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using WeifenLuo.WinFormsUI.Docking;
namespace Paros.Win
{
    public partial class PropertyForm : DockContent
    {
        public PropertyForm()
        {
            InitializeComponent();
        }

        public object SelectObject 
        {
            get
            {
                return propertyGrid1.SelectedObject;
            }
            set
            {
                propertyGrid1.SelectedObject = value;
            }
        }

        private void PropertyForm_Load(object sender, EventArgs e)
        {
            Domain.EntryItem entry = new Paros.Domain.EntryItem();
            this.propertyGrid1.SelectedObject = entry;
        }
    }
}
